/**
 * @description 挂载组件到全局
 */

import type { App as AppType, Component } from 'vue'

const componentList: Array<{ name: string, component: Component }> = [
    // {
    //     name: '',
    //     component: 
    // }
]

export default {
    install(app: AppType<Element>) {
        componentList.forEach(({ name, component }) => {
            app.component(name, component)
        })
    }
}
